<!-- 顶部导航查询条 -->
<template>
	<div class="navigationBar">
		<div class="title">
			{{ customTitle }}
		</div>
		<div class="search">
			<slot></slot>
		</div>
	</div>
</template>

<script>
	export default {
		name: "navigationBar",
		props: ["customTitle"],
	}
</script>

<style scoped>
	.navigationBar {
		height: 36px;
		line-height: 36px;
		background-color: #fff;
		margin-top: 10px;
		display: flex;
	}

	.navigationBar .title {
		position: relative;
		text-indent: 20px;
		font-size: 15px;
	}

	.navigationBar .title::before {
		background-color: rgb(22, 132, 252);
		height: 16px;
		width: 3px;
		content: "";
		position: absolute;
		top: 10px;
		left: 10px;
		z-index: 1;
	}

	.navigationBar .search {
		flex: 1;
		margin-left: 20px;
		margin-right: 10px;
		text-align: right;
	}
</style>
